<?php
   		if ($this -> tank_auth -> is_logged_in()) {
			//$data['user_id'] = $this->tank_auth->get_user_id();
			$data['username'] = $this -> tank_auth -> get_username();
		} else {
			$data['username'] = 'Entrar';
		}
		$data['enlace'] = base_url() . 'usuario/inicio/';
		$data['registro'] = site_url('/ebarrio/registro/');
		$data['publickey'] = $this -> config -> item('captcha_publickey');

//		$this -> load -> view('ebarrio_v', $data);
		$this -> load -> view('principal/principal_view', $data);
 
   
?>